package com.atguigu.guli.service.edu.service;

import com.atguigu.guli.service.bean.eduBean.CrouseBean;
import com.atguigu.guli.service.edu.entity.Course;
import com.atguigu.guli.service.edu.entity.form.CourseListQueryAll;
import com.atguigu.guli.service.edu.entity.form.CoursePublishVo;
import com.atguigu.guli.service.edu.entity.form.CourseQuery;
import com.atguigu.guli.service.edu.entity.form.CourseQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author atguigu
 * @since 2021-06-23
 */
public interface CourseService extends IService<Course> {


    String saveCourse(CoursePublishVo coursePublishVo);

    Page<CourseListQueryAll> QueryPageOtherFrom(Integer pageNum, Integer pageSize);

    CourseListQueryAll getCourseById(String courseId);


    List<Course> getCrouseQueryAll(CourseQuery courseQuery);

    CourseQueryVo getCourseAllMcg(String courseId);

    CrouseBean getCourseFromTrade(String courseId);
}
